#include"Crectangle.h"

CRectangle::CRectangle(){
	weight = new int;
	hight = new int;
	*weight = 5;
	*hight = 5;
}
CRectangle::CRectangle(int a,int b){
	weight = new int;
	hight = new int;
	*weight = a;
	*hight = b;
}
int CRectangle::area(){
	return *weight**hight;
}
CRectangle::~CRectangle(){
	delete weight;
	delete hight;
}